//
//  NwOrderRequest.h
//  KuWoCan
//
//  Created by hwd on 17/3/22.
//  Copyright © 2017年 hwd. All rights reserved.
//

#import "NetworkRequestBase.h"

typedef NS_ENUM(NSInteger,OrderQueryStatus) {
    OrderQueryStatusToSubmit = 0,                        //待提交
    OrderQueryStatusToAudit,                             //待审批
    OrderQueryStatusAuditting,                           //审批中
    OrderQueryStatusAudittingForShippingDepartment,      //发货部审批
    OrderQueryStatusToPay,                               //待支付
    OrderQueryStatusToShip,                              //待发货
    OrderQueryStatusToReceive,                           //待收货
    OrderQueryStatusCompleted                            //已完成
};



@interface NwOrderRequest : NetworkRequestBase

- (void)startRequestQueryAllOrdersWithUserId:(NSString *)userId pageNo:(NSString *)pageNo pageSize:(NSString *)pageSize orderStatus:(NSString *)orderStatus approvalType:(NSString *)approvalType approverUserId:(NSString *)approverUserId;

- (void)startRequestCommitOrdersWithDic:(NSMutableDictionary *)dic;

- (void)startRequestUpdateOrdersWithDic:(NSMutableDictionary *)dic;

- (void)startRequestOrdersDetailWithOrderId:(NSString *)orderId;

- (void)startRequestDeleteOrdersWithOrderId:(NSString *)orderId;

- (void)startRequestPassOrdersWithOrderId:(NSString *)orderId userId:(NSString *)userId orderStatus:(NSString *)orderStatus approvalType:(NSString *)approvalType refuseReason:(NSString *)refuseReason paymentProof:(NSString *)paymentProof;

@end
